projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f75969
)
(window_loop, case DELETE_BUFFER_WINDOWS):
author
Richard M. Stallman
<rms@gnu.org>
Sun, 21 Nov 1993 22:15:04 +0000
(22:15 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 21 Nov 1993 22:15:04 +0000
(22:15 +0000)
Select a new buffer only if w is selected window.
src/window.c
patch
|
blob
|
history
diff --git
a/src/window.c
b/src/window.c
index fdae63a47d5b24d355bfcde8e2033123f4e75791..a288774914bf163b866745a35aa948b086b411ea 100644
(file)
--- a/
src/window.c
+++ b/
src/window.c
@@
-1212,7
+1212,8
@@
window_loop (type, obj, mini, frames)
new_buffer
= Fget_buffer_create (build_string ("*scratch*"));
Fset_window_buffer (w, new_buffer);
- Fset_buffer (XWINDOW (w)->buffer);
+ if (EQ (w, selected_window))
+ Fset_buffer (XWINDOW (w)->buffer);
}
else
Fdelete_window (w);